<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});


Route::get('/bannerIcon', function () {
	return response()->json([
		['id' => 1 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon1.png'],
		['id' => 2 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon2.png'],
		['id' => 3 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon3.png'],
		['id' => 4 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon4.png'],
		['id' => 5 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon5.png'],
		['id' => 6 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon6.png'],
		['id' => 7 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon7.png'],
		['id' => 8 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon8.png'],
		['id' => 9 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon9.png'],
		['id' => 10 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon10.png'],
		['id' => 11 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon11.png'],
		['id' => 12 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon12.png'],
		['id' => 13 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon13.png'],
		['id' => 14 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon14.png'],
		['id' => 15 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon15.png'],
		['id' => 16 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon16.png'],
		['id' => 17 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon17.png'],
		['id' => 18 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon18.png'],
		['id' => 19 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon19.png'],
		['id' => 20 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon20.png'],
		['id' => 21 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon21.png'],
		['id' => 22 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon22.png'],
		['id' => 23 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon23.png'],
		['id' => 24 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon24.png'],
		['id' => 25 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon25.png'],
		['id' => 26 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon26.png'],
		['id' => 27 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon27.png'],
		['id' => 28 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon28.png'],
		['id' => 29 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon29.png'],
		['id' => 30 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon30.png'],
		['id' => 31 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon31.png'],
		['id' => 32 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon32.png'],
		['id' => 33 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon33.png'],
		['id' => 34 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon34.png'],
		['id' => 35 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon35.png'],
		['id' => 36 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon36.png'],
		['id' => 37 , 'url'=> 'http://msapi1.gzmashi.com/img/banner1_icon37.png'],
		
		]);
})->middleware(\Barryvdh\Cors\HandleCors::class);


Route::get('/studentProduct1', function () {
	return response()->json([
		['id' => 1 , 'url'=> 'http://msapi1.gzmashi.com/img/tubiao1.jpg'],
		['id' => 2 , 'url'=> 'http://msapi1.gzmashi.com/img/tubiao2.jpg'],
		['id' => 3 , 'url'=> 'http://msapi1.gzmashi.com/img/tubiao3.jpg'],
		['id' => 4 , 'url'=> 'http://msapi1.gzmashi.com/img/tubiao4.jpg'],
		['id' => 5 , 'url'=> 'http://msapi1.gzmashi.com/img/tubiao5.jpg'],
		['id' => 6 , 'url'=> 'http://msapi1.gzmashi.com/img/tubiao6.jpg'],	
		]);
})->middleware(\Barryvdh\Cors\HandleCors::class);

Route::get('/Course1', function () {
	return response()->json([
		['id' => 1 , 'color'=>'#8d8d8d' , 'icon_list'=>'ms-icon-sumiao' ,'title'=> '素描基础' , 'content'=>'1 透视/点线面/构图<br>
2 为平面基础铺垫<br>
3 为后期设计做铺垫<br>'],
		['id' => 2 , 'color'=>'#f6ba4d' , 'icon_list'=>'ms-icon-pingmian' ,'title'=> '平面设计' , 'content'=>'1 熟练 PS AI CDR 技能操作<br>
2 掌握不同布局，突出排版重点<br>
3 掌握不同配色，突出画面美感<br>
4 掌握不同风格，突出独特设计<br>'],
		['id' => 3 , 'color'=>'#b4e743' , 'icon_list'=>'ms-icon-computer' ,'title'=> '网页设计' , 'content'=>'1 企业网站设计<br>
2 电商网站设计<br>
3 详情页设计<br>
4 不同风格设计不同网站<br>'],
		['id' => 4 , 'color'=>'#4addd4' , 'icon_list'=>'ms-icon-phone' ,'title'=> 'UI设计' , 'content'=>'1 UI规范设计<br>
2 UI视觉设计<br>
3 UI交互设计<br>
4 设计一套APP<br>'],
		
		]);
})->middleware(\Barryvdh\Cors\HandleCors::class);



Route::get('/Course2', function () {
	return response()->json([
		['id' => 1 , 'color'=>'#e66565', 'icon_list'=>'ms-icon-html5' ,'title'=> '前端开发' , 'content'=>'1 透视<br>
2 点线面<br>
3 构图<br>
4 平面基础铺垫<br>
5 为后期包装设计做铺垫<br>'],
		['id' => 2 , 'color'=>'#1ca8c4', 'icon_list'=>'ms-icon-php' ,'title'=> 'PHP基础' , 'content'=>' 熟练PS AI CDR 技能操作<br>
3 掌握不同布局，突出排版重点<br>
4 掌握不同配色，突出画面美感<br>
5 掌握不同风格，突出独特设计<br>
6 懂得怎么去设计LOGO<br>'],	
		['id' => 3 , 'color'=>'#9a7ef5', 'icon_list'=>'ms-icon-world' ,'title'=> '网站开发' , 'content'=>'1 企业网站设计<br>
2 电商网站设计<br>
3 详情页设计<br>
4 个性简历设计<br>
5 不同风格设计不同网站<br>'],	
		['id' => 4 , 'color'=>'#0dde83', 'icon_list'=>'ms-icon-wechat' ,'title'=> '微信开发' , 'content'=>' 1 UI规范设计<br>
2 UI视觉设计<br>
3 UI交互设计<br>
4 设计一套APP<br>'],
		
		]);
})->middleware(\Barryvdh\Cors\HandleCors::class);


Route::get('/enrollNotice', function () {
	return response()->json([
		['id' => 1 , 'title'=> '预交报名费' , 'content'=>'参加培训的学员按照下面的汇款方式缴纳500元报名预订金，该报名费在开课后用于抵扣学费（订座）<br>
      温馨提示：<br>
      1如果您无法参加当期的课程，我们将自动将您的名额转至下一期班级。<br>
      2如果您在缴纳报名费用后不打算参加学习了，请在开班前5个工作日内通知我们，我们将全额退还您的报名费<br>
      3（如果您在外地，汇款的手续费用将从您的报名费中扣除）。<br>'],
		['id' => 2 , 'title'=> '如何交学费' , 'content'=>'培训费用缴纳：<br>
        所有学员在开课前一周可选择如下方式缴纳学费：<br>
        （1）现金缴纳：您可以到我们的培训中心所在地亲自缴纳。<br>
        （2）银行汇款：您可以通过银行汇款或网银转账的方式缴纳您的学费。<br>
        报名汇款银行：<br>
        开户行：中国工商银行广州番禺锦绣生态园支行<br>
        户 名：广州码市职业技能培训有限公司<br>
        账 号：3602176309100185626<br>
        （3）公司支付宝：15915966268@139.com<br>'],
		['id' => 3 , 'title'=> '报名费确认' , 'content'=>'转账之后，可以通过QQ、邮箱、微信等方式将您的详细信息告诉咨询老师<br>
        包括以下内容：<br>
        汇款人姓名、所报学科与班级、汇款金额、汇出银行、汇入银行、汇款时间等或汇款种类（报名费，培训费）<br>
        咨询老师确认收到款项后会及时与您沟通座位预订情况。<br>
        并会有专门老师电话、邮件通知您走进入学流程！<br>'],
		['id' => 4 , 'title'=> '来校报到' , 'content'=>'（1）所有学员最好是开班前三天至校区办理报到手续（注：节假日除外）<br>
        （2）报到时须携带本人身份证原件并填写学籍卡、签订学员守则。<br>
        （3）需工作人员协助安排住宿的学员请在买好车票后告知咨询老师；以便工作人员协助您安排住宿并事先熟悉环境,为日后的学习做好准备工作。<br>'],
		]);
})->middleware(\Barryvdh\Cors\HandleCors::class);